package top.zerozoo.learn.grade.dao;

import top.zerozoo.learn.grade.entity.Major;

import java.util.List;


public interface MajorDao extends IDao{
    int count();

    List<Major> findAll();
    Major findById(int id);

    int insert(Major major);
    int update(Major major);
    int deleteById(int id);
}
